package org.example.dao.impl;

import org.example.dao.UserDao;
import org.example.pojo.User;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    public UserDaoImpl() {
    }

    @Override
    public void save(User user) {
        System.out.println(user.getName() + ":" + user.getContent());
    }

    @Override
    public void save1(User user) {
        System.out.println(user.getName() + ":" + user.getContent());
    }
}
